require 'meta_weblog_api'
require 'movable_type_api'
require 'blogger_api'

class BackendController < ApplicationController
  layout "admin"
  session :off

  web_service_dispatching_mode :layered
  #web_service_scaffold :invoke
  web_service(:metaWeblog) { MetaWeblogService.new(self)  }
  web_service(:mt)         { MovableTypeService.new(self) }
  web_service(:blogger)    { BloggerService.new(self) } 

  alias xmlrpc api
  
end
